<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QSqlField Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QSqlField Class Reference</h1>
<h3 align="center">[<a href="qt_sql.html">qt.sql</a> package]</h3>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QSqlField(QSqlField other)</b></li>
<li><div class="fn"/><b>void QSqlField(String fieldName, QVariant::Type type)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QSqlField prototype object</li>
<li><b>Unknown = -1</b></li>
<li><b>Optional = 0</b></li>
<li><b>Required = 1</b></li>
<li><b>RequiredStatus( value )</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<ul>
<li><div class="fn"/><b>void clear()</b></li>
<li><div class="fn"/><b>Object defaultValue()</b></li>
<li><div class="fn"/><b>bool isAutoValue()</b></li>
<li><div class="fn"/><b>bool isGenerated()</b></li>
<li><div class="fn"/><b>bool isNull()</b></li>
<li><div class="fn"/><b>bool isReadOnly()</b></li>
<li><div class="fn"/><b>bool isValid()</b></li>
<li><div class="fn"/><b>int length()</b></li>
<li><div class="fn"/><b>String name()</b></li>
<li><div class="fn"/><b>bool operator_equal(QSqlField other)</b></li>
<li><div class="fn"/><b>int precision()</b></li>
<li><div class="fn"/><b>RequiredStatus requiredStatus()</b></li>
<li><div class="fn"/><b>void setAutoValue(bool autoVal)</b></li>
<li><div class="fn"/><b>void setDefaultValue(Object value)</b></li>
<li><div class="fn"/><b>void setGenerated(bool gen)</b></li>
<li><div class="fn"/><b>void setLength(int fieldLength)</b></li>
<li><div class="fn"/><b>void setName(String name)</b></li>
<li><div class="fn"/><b>void setPrecision(int precision)</b></li>
<li><div class="fn"/><b>void setReadOnly(bool readOnly)</b></li>
<li><div class="fn"/><b>void setRequired(bool required)</b></li>
<li><div class="fn"/><b>void setRequiredStatus(RequiredStatus status)</b></li>
<li><div class="fn"/><b>void setSqlType(int type)</b></li>
<li><div class="fn"/><b>void setType(QVariant::Type type)</b></li>
<li><div class="fn"/><b>void setValue(Object value)</b></li>
<li><div class="fn"/><b>QVariant::Type type()</b></li>
<li><div class="fn"/><b>int typeID()</b></li>
<li><div class="fn"/><b>Object value()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QSqlField objects have no special properties beyond those inherited from the QSqlField prototype object.</p>
</body>
</html>
